#include <stdio.h>
#include <string.h>

int main()
{
	FILE *tp;
	int k;
	const char name[10]="a.txt";
	tp = fopen(name,"r");
	k = strlen(name);
	printf("%d",k);
	if (tp == NULL)
		printf("fail\n");
	else
		printf("success\n");
}
